/* ============================================================
   CORFLY — Page d'accueil · design classique
   ============================================================ */

/* ----------------------------------------------
   VARIABLES
---------------------------------------------- */
:root {
  --blue-dark:  #0d1b2a;
  --gold:       #D08F2B;
  --gold-light: #c99a4a;
  --gold-dim:   rgba(176, 126, 47, 0.12);
  --cream:      #f2efea;
  --cream-mid:  #faf9f7;
  --white:      #ffffff;
  --text-dark:  #111111;
  --text-mid:   #444444;
  --text-muted: #777777;
  --border:     #e8e4de;
  --shadow:     0 2px 12px rgba(0,0,0,0.06);
}

/* ----------------------------------------------
   RESET
---------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'League Spartan', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ----------------------------------------------
   BOUTONS GLOBAUX
---------------------------------------------- */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  transition: background 0.25s;
}
 
.btn-gold:hover { background: var(--gold-light); }
 
.btn-gold-guide {
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  transition: background 0.25s;
}
 
.btn-gold-guide:hover { background: var(--gold-light); }
 

/* ----------------------------------------------
   HERO — fond image, centré
---------------------------------------------- */
.hero {
  background-image: url('/assets/hero-banner.png');
  background-size: cover;
  background-position: center 80%;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.62);
  pointer-events: none;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(68px, 3vw, 88px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 38px;
}

.orange { color: var(--gold); }

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.btn-gold-guide {
  background: var(--gold);
  color: var(--white);
  padding: 0.65rem 4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.5px;
  border: none;
  transition: background 0.25s;
  border-radius: 12px;
}

.btn-gold-guide:hover { background: var(--gold-light); }

.hero-btn-sub {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.85;
}

.corfly-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.corfly-title {
  font-size: 48px;
  color: var(--blue-dark);
  margin-bottom: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.corfly-subtitle {
  font-size: 23px;
  color: var(--text-mid);
  margin-bottom: 3.5rem;
  line-height: 1.65;
}



/* ----------------------------------------------
   FOOTER
---------------------------------------------- */
.corfly-footer { background: var(--blue-dark); text-align: center; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); font-size: 16px; letter-spacing: 0.5px; }

/* ----------------------------------------------
   QUESTIONS FRÉQUENTES
---------------------------------------------- */

.corfly-faq {
  background: var(--blue-dark);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
 
.corfly-faq .corfly-container {
  max-width: 1400px;
}
 
.corfly-faq-title {
  font-size: 33px;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
  margin-bottom: 0.6rem;
}
 
.corfly-faq-subtitle {
  text-align: left;
  color: var(--white);
  margin-bottom: 3rem;
  font-size: 48px;
}
 
.corfly-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
 
.corfly-faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--cream-mid);
  overflow: hidden;
}
 
.corfly-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  background-color: var(--blue-dark);
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 23px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: color 0.2s;
}
 
.corfly-faq-question:hover {
  color: var(--gold);
}
 
.corfly-faq-icon {
  flex-shrink: 0;
  font-size: 23px;
  font-weight: 400;
  color: var(--white);
  transition: transform 0.25s ease;
}
 
.corfly-faq-item.open .corfly-faq-icon {
  transform: rotate(45deg);
}
 
.corfly-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.4rem;
  background-color: var(--blue-dark);
}
 
.corfly-faq-item.open .corfly-faq-answer {
  max-height: 500px;
  padding: 0 1.4rem 1.3rem;
}
 
.corfly-faq-answer p {
  color: var(--white);
  line-height: 1.65;
  font-size: 23px;
}
 
@media (max-width: 700px) {
  .corfly-faq { padding: 4rem 0; }
  .corfly-faq-title { font-size: 26px; }
}

/* ----------------------------------------------
   RESPONSIVE
---------------------------------------------- */
 
/* Mobile */
@media (max-width: 768px) {
  /* Hero */
  .hero { padding: 72px 0 60px; }
  .hero-text h1 { font-size: 38px; }
 
  .hero-flex {
    width: 92%;
    justify-content: center;
  }
 
  .hero-text { text-align: center; max-width: 100%; }

  .hero-eyebrow { font-size: 11px; }
 
  .corfly-split-text p:first-of-type {
    font-size: 19px;
  }
 
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-buttons a {
  font-size: 11px;
  }
  .btn-gold-guide { width: 100%; text-align: center; }
 
  .corfly-title    { font-size: 29px; }
  .corfly-subtitle { font-size: 19px; }
 
}
 
/* Très petit mobile */
@media (max-width: 400px) {
  .corfly-title { font-size: 26px; }
}

/* ----------------------------------------------
   ÉVÉNEMENT / PROGRAMME / QUI SUIS-JE — communs
---------------------------------------------- */
.corfly-event-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.corfly-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(
    45deg,
    var(--border),
    var(--border) 10px,
    var(--cream-mid) 10px,
    var(--cream-mid) 20px
  );
  border: 1px dashed var(--text-muted);
  position: relative;
  margin: 2.5rem 0;
}

.corfly-video-placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--white);
  padding: 6px 14px;
  text-align: center;
  max-width: 80%;
}

.corfly-checklist {
  list-style: none;
  padding: 0;
  margin: 2.8rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.corfly-checklist li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-mid);
  line-height: 1.5;
  font-size: 23px;
}

.corfly-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: 700;
  background: var(--gold);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  top: 1px;
}

/* ----------------------------------------------
   ÉVÉNEMENT — PARCOURS DÉCOUVERTE
---------------------------------------------- */
.corfly-event {
  background: var(--cream-mid);
  padding: 6rem 0;
}

.corfly-event .corfly-title {
  margin-bottom: 1.2rem;
}

.corfly-event-text {
  color: var(--text-mid);
  line-height: 1.3;
  font-size: 24px;
}

.corfly-event-cta {
  margin: 2rem 0;
  text-align: center;
}

.corfly-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 0.65rem 4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  border: none;
  transition: background 0.25s;
  border-radius: 12px;
}

.corfly-btn:hover { background: var(--gold-light); }

.corfly-event-date {
  display: flex;
  width: fit-content;
  align-items: flex-start;
  gap: 1.2rem;
  margin: 1.5rem auto 0;
}
.corfly-event-date-num {
  font-size: 78px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.corfly-event-date-label {
  font-size: 23px;
  font-weight: 700;
  color: var(--blue-dark);
}

.corfly-event-date-detail {
  font-size: 23px;
  color: var(--text-mid);
  margin-top: 2px;
}

/* ----------------------------------------------
   LE PROGRAMME / QUI SUIS-JE — mise en page 2 colonnes
---------------------------------------------- */
.corfly-programme {
  background: var(--white);
  padding: 6rem 0;
}

.corfly-quisuisje {
  background: var(--cream-mid);
  padding: 6rem 0;
}

.corfly-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  font-size: 23px;
}

.corfly-split-reverse {
  margin-top: 0;
}

.corfly-split-text p {
  color: var(--text-mid);
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-align: justify;
}

.corfly-split-video {
  margin: 0;
}

@media (max-width: 900px) {
  .corfly-split {
    grid-template-columns: 1fr;
  }
  .corfly-split-reverse .corfly-split-video {
    order: -1;
  }
}
.corfly-programme .corfly-split {
  align-items: flex-start;
}

.corfly-event-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    display: block;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.08);
}

@media (max-width: 900px) {
    .corfly-event-image { aspect-ratio: 4 / 3; }
}

@media (max-width: 500px) {
    .corfly-event-image {
        aspect-ratio: 1080 / 1650;
        object-fit: contain;
    }
}

.corfly-quisuisje .corfly-split {
  align-items: center;
}

.corfly-quisuisje .corfly-video-placeholder {
  aspect-ratio: 3 / 4;
  height: auto;
  max-width: 480px;
  margin: 2.5rem auto;
}

.corfly-programme .corfly-video-placeholder {
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin: 1rem auto;
}

img.corfly-video-placeholder,
video.corfly-video-placeholder {
    border: none;
    object-fit: cover;
}

.corfly-video-wrapper {
    position: relative;
    width: 100%;
}

.corfly-video-label {
    position: absolute;
    bottom: 76px;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
}

.corfly-img-label {
    position: absolute;
    bottom: 76px;
    left: 106px;
    background: var(--gold);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
}

.corfly-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.35);
}

.corfly-video-play:hover {
    background: var(--gold-light);
    transform: translate(-50%, -50%) scale(1.06);
}

.corfly-video-play svg {
    margin-left: 3px;
}

@media (max-width: 900px) {
    .corfly-event-image { aspect-ratio: 4 / 3; }
}

@media (max-width: 500px) {
    .corfly-event-image { aspect-ratio: 540 / 670; }

    .corfly-event-date {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 320px;
        gap: 0.3rem;
        padding: 1.5rem;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(13, 27, 42, 0.06);
    }

    .corfly-event-date > div {
        display: contents;
    }

    .corfly-event-date-label {
        order: 1;
        font-size: 16px;
        margin-bottom: 0.2rem;
    }

    .corfly-event-date-num {
        order: 2;
        font-size: 52px;
        margin: 0.2rem 0;
    }

    .corfly-event-date-detail {
        order: 3;
        font-size: 15px;
        line-height: 1.5;
    }
}